/* stylelint-disable */

.training_content {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin-top: 12px;
    overflow-x: auto;
    column-gap: 24px;

    .content_item {
        position: relative;
        flex-shrink: 0; /* 防止子项缩小 */
        width: 240px;
        height: 112px;
        padding: 16px;
        background: #fff;
        border-radius: 8px;

        .item_top {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            column-gap: 8px;
            .item_img {
                width: 24px;
                height: 23px;
                > img {
                    width: 100%;
                    height: 100%;
                }
            }
            .item_title {
                flex: 1;
                overflow: hidden;
                color: #171a1d;
                font-weight: 600;
                font-size: 16px;
                font-family: PingFangSC, PingFang SC;
                font-style: normal;
                white-space: nowrap;
                text-overflow: ellipsis;
            }
        }

        .item_main {
            margin-top: 16px;
            .item_main_title,
            .item_main_adress {
                display: flex;
                column-gap: 8px;
                .title_icon {
                    > svg {
                        width: 20px;
                        height: 20px;
                        fill: rgba(23, 26, 29, 0.4);
                    }
                }
                .item_main_tips {
                    display: -webkit-box; // 将对象作为弹性伸缩盒模型显示
                    overflow: hidden;
                    color: rgba(23, 26, 29, 0.6);
                    font-weight: 400;
                    font-size: 14px;
                    font-family: PingFangSC, PingFang SC;
                    font-style: normal;
                    line-height: 22px;
                    text-overflow: ellipsis; // 在多行文本的情况下，用...隐藏超出范围的文本
                    word-break: break-all;
                    -webkit-line-clamp: 2; // 用来限制在一个块元素显示的文本的行数
                    -webkit-box-orient: vertical; //设置或检查伸缩盒对象的子元素的排列方式
                }
            }
            .item_main_title {
                .title_icon {
                    transform: translateY(3px);
                }
            }
            .item_main_adress {
                margin-top: 10px;
            }
        }
    }

    .content_item::after {
        position: absolute;
        top: 0;
        right: 0;
        width: 96px;
        height: 72px;
        background: url('~@/assets/common/home/png_bglogo_peixun@2x.png') no-repeat;
        background-size: 100% 100%;
        content: '';
    }
}
